package com.cskaoyan.mapper;

import com.cskaoyan.bean.Order;

import java.util.List;

public interface OrderMapper {

    /**
     * @param null
     * @return
     * @author ciggar
     *
     * 1. int selectIdByOrderName(String orderName);
     * 2. List<Integer> selectIdList();
     * 3. int[] selectIdArray();
     * 4. Order selectOrderById(Integer id);
     * 5. List<Order> selectOrderList();
     * 6. Order[]  selectOrderArray();
     */


    int selectIdByOrderName(String orderName);

    List<Integer> selectIdList();

    Integer[] selectIdArray();

    Order selectOrderById(Integer id);

    List<Order> selectOrderList();

    Order[] selectOrderArray();


}
